﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 晨曦超市管理系统.客户信息
{
    public partial class Wanglai : Form
    {
        public Wanglai()
        {
            InitializeComponent();
        }
        DataTable dr;
        private void Wanglai_Load(object sender, EventArgs e)
        {
            string sqlstr = "select b.SupplierID,a.Name,c.ImportID,c.BillID,c.ProductID,d.Name1,c.JinHuoJi,c.Quantity from ProfferBill a inner join ImportBill b on  a.SupplierID=b.SupplierID inner join ImportBillDetail c on  b.BillID=c.BillID inner join CommodityList d on c.ProductID=d.ProductID";
            Reusing.XianShi(dataGridView4, sqlstr,dr);
        }
    }
}
